import { Injectable } from '@nestjs/common';
import { User, UserListRequest, UserListResponse } from '@libs/common/protos/user/user';
import { Observable } from 'rxjs';

@Injectable()
export class MicroUserService {

  getUserList(request: UserListRequest): Promise<UserListResponse> | Observable<UserListResponse> | UserListResponse {
    return {
      code: 0,
      message: 'success',
      total: 0,
      page: request.page,
      pageSize: request.pageSize,
      userList: [],
    }
  }



}
